package cn.le.aopAnnotationDataSource.jdbc;

/**
 * Created by admin on 2017/3/28.
 * 提供数据源名称
 */
public enum DataSourceType {

    //主库
    Master("master"),
    //丛库
    Slave("slave");

    private String name;

    private DataSourceType(String name){
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
